﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace EPS.Common
{
    [DataContract]
    public class SearchResult<T>
    {

        private int _RecordCount = 0;

        [DataMember]
        public int RecordCount
        {
            get { return _RecordCount; }
            set { _RecordCount = value; }
        }
        private int _PageCount = 0;

        [DataMember]
        public int PageCount
        {
            get { return _PageCount; }
            set { _PageCount = value; }
        }


        private T[] _Result = null;

        [DataMember]
        public T[] Result
        {
            get { return _Result; }
            set { _Result = value; }
        }

    }
}
